    <extend name="base"/>
    <block name="main">
    <!-- 
		<ul class="nav nav-pills nav-justified nav-tab">
		  <li class="active"><a href="{:U('Admin/Index/membermanager?op=mobile')}">手机</a></li>
		  <li><a href="{:U('Admin/Index/membermanager?op=weixin')}">微信</a></li>
		  <li><a href="{:U('Admin/Index/membermanager?op=qq')}">QQ</a></li>
		  <li><a href="{:U('Admin/Index/membermanager?op=paybao')}">支付宝</a></li>
		  <li><a href="{:U('Admin/Index/membermanager?op=weibo')}">微博</a></li>
		</ul>
		 -->
<div class="panel panel-info">
  <div class="panel-heading">
    <h3 class="panel-title">搜索</h3>
  </div>
  <div class="panel-body">
		<form class="form-inline" method="post" action="">
			<div class="row">
		  <div class="form-group col-sm-3">
		    <label for="name">用户名</label>
		    <input type="text" name="name" class="form-control" id="name">
		  </div>
		  <div class="form-group col-sm-4">
		    <label for="mobilenum">手机号码</label>
		    <input type="text" name="phone" class="form-control" id="phone">
		  </div>
		  <div class="form-group col-sm-2">
			    <label for="status">状态</label>
			    <select class="form-control" id="status" name="status">
			    	<option value='1'>正常</option>
			    	<option value='0'>禁用</option>

			    </select>
			</div>
		  <div class="form-group col-sm-2">
			    <label for="accounttype">等级</label>
					<select name="accounttype" class="dropdown-select form-control" id="accounttype">
						<option value="1">普通</option>
						<option value="0">vip</option>
					</select>
			</div>

		  </div>
		  <div class="row" style="margin-top:25px;"> 
		  <div class="form-group col-sm-3">
			    <label for="status">账户类型</label>
			    <select class="form-control" id="membertype" name="membertype">
					<option value='1'>全部</option>
			    	<option value='2'>微信</option>
			    	<option value='3'>qq</option>
					<option value='4'>支付宝</option>
					<option value='5'>手机注册</option>
			    </select>
			</div>
		  <div class="form-group col-sm-3">
		    <label for="name">流水号</label>
		    <input type="text" class="form-control" id="serialnum" name="serialnum">
		  </div>
			  <div class="col-sm-2">
			  <button type="submit" class="btn btn-default col-sm-4">查找</button>
			  </div>
		  </div>
		</form>
  </div>
</div>
		<table class="table table-bordered text-center">
			<th>流水号</th>
			<th>用户名</th>
			<th>手机号码</th>
			<th>状态（点击可修改）</th>
			<th>其他</th>
			<volist name="listdata" id="vo">
			<tr>
				<td>{$vo.serialnumber}</td>
				<td>{$vo.name}</td>
				<td>{$vo.phone}</td>		
				<td><if condition="$vo.status eq 1"><span class="label label-success">正常</span><else /><span class="label label-danger">禁用</span></if></td>
				<td><a href="<?=U('Admin/Index/membermanager')?>&op=detail&serialnumber={$vo.serialnumber}">详细信息</a></td>
			</tr>
			</volist>
		</table>
    </block>